import 'package:flutter/widgets.dart';
import 'package:website.core/core/presentation/theme/theme.dart';

class AppHeader extends StatelessWidget {
  const AppHeader({
    required this.height,
    required this.children,
    Key? key,
  }) : super(key: key);

  final double height;
  final List<Widget> children;

  @override
  Widget build(BuildContext context) {
    return Container(
      height: height,
      color: CoreTheme.of(context).headerBackgroundColor,
      child: Row(
        children: children,
      ),
    );
  }
}
